NVM.Easing = (function () {
  var __core = NOVEM.Core;

  return {
    init: function (selector) {
      __core.loadJS({
        file: "plugins/easing.js",
        id: "nvm-easing-js",
        jsFolder: true,
      });
      __core
        .isFuncTrue(function () {
          return (
            typeof jQuery !== "undefined" &&
            typeof jQuery.easing["easeOutQuad"] !== "undefined"
          );
        })
        .then(function (cond) {
          if (!cond) {
            return false;
          }

          __core.initFunction({
            class: "has-plugin-easing",
            event: "pluginEasingReady",
          });
        });
    },
  };
})();
